#ifndef __GAP_GATTS_INTERNAL_H
#define __GAP_GATTS_INTERNAL_H

#include <stdint.h>
#include "esp_bt.h"
#include "esp_gap_ble_api.h"
#include "esp_gatts_api.h"
#include "esp_bt_main.h"
#include "esp_gatt_common_api.h"

#include "esp_log.h"

#include "configure.h"

#define SVC_INST_ID 0

static const char *GATTS_TAG = "GAP_GATTS_API";

#define CONFIG_SET_RAW_ADV_DATA

#define ADV_CONFIG_FLAG (1 << 0)
#define SCAN_RSP_CONFIG_FLAG (1 << 1)

void gatts_profile_event_handler(esp_gatts_cb_event_t event,
				 esp_gatt_if_t gatts_if,
				 esp_ble_gatts_cb_param_t *param);

#endif